<form method="<?=$this->method?>" action="<?=$this->action?>"	 <? if (isset($this->id)) { ?> id="<?=$this->id ?>" <? } ?> <? if (isset($this->name)) { ?> name="<?=$this->name ?>" <? } ?>>
<input type="hidden" name="tdform" value="<?=$this->id?>" />

<? 
foreach ($this->fields as $field) {
	echo($field);
} 
?>

</form>